-- GENERATED SPELL FOR [Bloodhound] --


function spell0_8921(pUnit, Event) --@Dire Growl,n/a--
pUnit:FullCastSpellOnTarget(13692,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8921', 16000, 1)
end

function spell1_8921(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8921', 15000, 1)
end

function Sorts_8921(pUnit, Event)
local choix_sorts_8921 = math.random(0, 1)
if choix_sorts_8921 == 0 then
pUnit:RegisterEvent('spell0_8921', 1, 1)
end
if choix_sorts_8921 == 1 then
pUnit:RegisterEvent('spell1_8921', 1, 1)
end
end

function mob8921_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8921', math.random(1500, 3000), 1)
end

function mob8921_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8921_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8921_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8921, 1, 'mob8921_Action')
RegisterUnitEvent(8921, 2, 'mob8921_Leave')
RegisterUnitEvent(8921, 3, 'mob8921_Kill')
RegisterUnitEvent(8921, 4, 'mob8921_Die')
